package org.secangkirkopipanas.gxtcore.server.dao;

import java.util.Date;
import java.util.List;

import org.hibernate.Criteria;
import org.hibernate.SessionFactory;
import org.secangkirkopipanas.gxtcore.server.domain.SystemLog;

public interface ISystemLogDAO {
	
	public SessionFactory getSessionfactory();

	public void setSessionfactory(SessionFactory sessionfactory);

	public void setAllDayCriteria(Date date, Criteria criteria);

	public int getTotalCount(Date date, int level, String appName);

	public List<SystemLog> get(Date date, int level, String appName, int start,
			int count);

}